package com.eascs.paymentdetail.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.eascs.admin.common.dao.BaseO2oDao;
import com.eascs.paymentdetail.entity.O2oPaymentDetailEntity;

/**
 * @ClassName: O2oPaymentDetailDao.java
 * @Description: <p> 财务收付明细 DAO </p>
 * @author CXW
 * @date 2016年9月9日 下午2:38:48
 * @version V1.0
 */
@Repository
public class O2oPaymentDetailDao extends BaseO2oDao{

	public List<O2oPaymentDetailEntity> queryBillCode(String billCode) {
		String sql="select * from  o2o_payment_detail where (remark not like '%红冲%' and remark not like '%蓝补%') AND bill_code=?";
		return this.findEntitys(sql, O2oPaymentDetailEntity.class, billCode);
	}

}
